/*
* @Author: admin
* @Date:   2017-08-14 15:10:40
* @Last Modified by:   admin
* @Last Modified time: 2017-08-15 09:46:32
*/
body{
    background: url(../images/bg.png) no-repeat;
    background-size: 100%;
    padding: 0;
    margin:0;
}
.btns{
    position: absolute;
    width: 100%;
    top:52%;
}
.btns .invitation{
    float: left;
    margin-left: 7%;
    width: 120px;
    color: #fff;
    background-color: #f13435;
    border-radius: 25px;
    box-shadow:0px 4px 2px #888888;
}
.btns .faceToface{
    float: right;
    margin-right: 7%;
    width: 120px;
    color: #f13435;
    background-color: #ececec;
    border-radius: 25px;
    box-shadow:0px 4px 2px #888888;
}  
.btns .faceToface p,.btns .invitation p{
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-weight: bolder;
    line-height: 28px;
}
.ruleAnduser{
    position: absolute;
    top:59%;
    width: 100%;
    height: 30px;
    background-color: #eeeeee;
}
.rule,.user{
    position: relative;
    top:0;
    left: 0;
}
.ruleAnduser>ul{
    margin: 0;
    padding: 0;
    height: 100%
}
.ruleAnduser>ul>li{
    display: inline-block;
    width: 49%;
    text-align: center;
    font-size: 12px;
    line-height: 30px;
    font-weight: bolder;
}
.ruleAnduser>ul>li:nth-child(1){
    float: left;
    margin-left: 1%;
    color: #f13435;
    border-bottom: 2px solid #f13435;
}
.ruleAnduser>ul>li:nth-child(2){
    float: right;
    margin-right: 1%;
    color: #7f7d7d
}
.ruleAnduser .rule{
    margin: 20px 30px 30px 30px;
    padding: 10px;
    border: 2px solid #f13435;
    box-shadow:4px 4px 2px #888888;
}
.ruleAnduser .rule p{
    color: #f13435;
    font-size: 12px;
    line-height: 28px;
    font-weight: bold;
}
.ruleAnduser .user{
    margin: 20px 30px 30px 30px;
    height: 200px;
    padding: 10px;
    border: 2px solid #f13435;
    box-shadow:4px 4px 2px #888888;
}
.ruleAnduser .user>ul{
    margin: 0;
    padding: 20px 0 0 0;
}
.ruleAnduser .user>ul>li{
    text-align: center;
    color: #f13435;
    list-style: none;
    font-weight: bold;
    line-height: 30px;
    letter-spacing: 2px;
    border-bottom: 1px dotted #f13435;
}
/*活动规则和用户列表动画*/

.myMoveright{
    -webkit-animation:moveRight 1s linear; /* Safari and Chrome */
}
.myMoveleft{
    -webkit-animation:moveLeft 1s linear; /* Safari and Chrome */
}

@-webkit-keyframes moveLeft
    {
        0%   { left:-500px; top:0px;}
        100% { left:0px; top:0px;}
    }

@-webkit-keyframes moveRight
    {
        0%   {left:500px; top:0px;}
        100% {left:0px; top:0px;}
    }   


.myMoveoutright{
    -webkit-animation:moveoutRight 1s linear; /* Safari and Chrome */
}
.myMoveoutleft{
    -webkit-animation:moveoutLeft 1s linear; /* Safari and Chrome */
}

@-webkit-keyframes moveoutLeft
    {
        0%   { left:0; top:0px;}
        100% { left:-500px; top:0px;}
    }

@-webkit-keyframes moveoutRight
    {
        0%   {left:0; top:0px;}
        100% {left:500px; top:0px;}
    }  


#blackground{  
    position:fixed;
    display: none;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    background: #000000;
    z-index: 98;
    opacity: .6;
}   
#faceToface{
    z-index: 99;
    position: fixed;
    display: none;
    bottom: 0;
    left: 0;
    width: 90%;
}  
#faceToface img{
    width: 100%;
}
#qrcode{
    position:absolute;
    width: 36%;
    top: 16%;
    left: 50%;
    margin-left: -10%;

} 
/*背景淡入*/
  @-webkit-keyframes myin
  {
  from {opacity: 0.1;}
  to {opacity: 0.6;}
  } 
/*背景淡出*/

  @-webkit-keyframes myout
  {
  from {opacity: 0.6;}
  to {opacity: 0;}
  } 

  .bgin{
    -webkit-animation: myin 1s linear;  
  }
  .bgout{
    -webkit-animation: myout 1s linear;  
  }


  .facefromleft{
    -webkit-animation: myfacefromleft 1s linear;  
  }

  .faceleave{
    -webkit-animation: myfaceleave 1s linear;  
  }


  @-webkit-keyframes myfacefromleft
  {
  from {
    left: -200px;
    bottom: -200px;
  }
  to {
    bottom: 0;
    left: 0;
  }
  }



  @-webkit-keyframes myfaceleave
  {
  from {
    bottom: 0px;
    left: 0px;
  }
  to {
    bottom: -300px;
    left: -300px;
  }
  }
.activity{
  width: 100%;
  margin: 0 auto; 
  position: relative;
  overflow: hidden;
  height: 200px;
  text-align: center;
  background-color: #ff7575;
  opacity: 0.7
}
.activity ul{
  top: -15px;
  padding: 20px 0 0 0;
  color: #666;
  position: relative;
  width: 70%;
  margin-left: 15%
}
.activity li{
  color: #272727;
  height: 34px;
  padding:0;
  font-size: 14px;
  line-height: 34px;
  list-style: none;
  border-bottom: 1px dotted #d2d2d2;
}
